package com.javatraining.corejava.homework.television;

/**
 * @author kmatharasi
 * 
 * Demo Class to instantiate the Television 
 * 
 *
 */
public class TelevisionDemo {

	public static void main(String[] args) {
		
		Television televison1 = new Television();
		
		televison1.setMake("Samsung");
		televison1.setModel("42I12HZ");
		televison1.setYear(2013);
		
		System.out.println(televison1.getMake());
		System.out.println("------------------------");
		System.out.println(televison1.getModel());
		System.out.println("------------------------");
		System.out.println(televison1.getYear());
		System.out.println("------------------------");
		
		televison1.On(true);
		
		televison1.selectChannel(3);
		
		televison1.upgrade(70);
		
		televison1.connectPort("usb");
		
		televison1.Off(true);
		

	}

}
